<%@ page language="java" 
import="java.util.*,com.gzl.test.struts.testOGNLaction.Test5"
contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
 <%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

 	<s:set var="s" value="{00,11,22,33,44,55,66,77,88,99}" ></s:set>
  	<table width="200px" border="1">
  	 <s:iterator value="#request.s"  var="temp" begin="0" end="7" step="1" status="idx">
  	 	<s:if test="#idx.odd">
			<tr bgcolor="gray"><td><s:property value="#idx.index"/>---<s:property value="#temp" /></td></tr>
  	 	</s:if>
  	 	<s:else>
			<tr><td><s:property value="#idx.index"/>---<s:property value="#temp" /></td></tr>
  	 	</s:else>
  	 </s:iterator>
  	</table>



</body>
</html>